question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Location do not contains fields

See original GitHub issue

The closure externs seem ok, but elemental does not contain Location fields (href, protocol, search, etc). https://github.com/google/closure-compiler/blob/master/externs/browser/ie_dom.js#L1252

I think this ie_dom is the one used because it is the unique place where ‘forceReload’ appears.

Current elemental2 Location class:

@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public interface Location {
  void assign(String url);
  void reload();
  void reload(boolean forceReload);
  void replace(String url);
}

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
gkdncommented, Jul 14, 2017

@ibaca we are not using ie_dom.js; feel free send us a patch that moves more APIs from ie_dom.js but pls update the documentation similar to other ones in dom_missing_api.js. We will eventually fix them in the Closure and get rid off dom_missing_api.js.

1reaction
tbroyercommented, Jun 23, 2017

@jDramaix I think the issue is that Location only has methods apply, reload and replace, and none of the href, protocol, search, etc. properties: https://developer.mozilla.org/en-US/docs/Web/API/Location

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Query Where Field DOES NOT Contain $x - Stack Overflow
Finds all rows where a does not contain "text" SELECT * FROM x WHERE x.a NOT LIKE '%text%';. If you restrict it so...
Read more >
Examples of query criteria - Microsoft Support
Returns records where there is no value in the field. Do not contain null values. Is Not Null. Returns records where the value...
Read more >
[GA4] BigQuery Export schema - Analytics Help
Field name Data type Description app_info RECORD A record of information on the app. app_info.id STRING The package name or bundle ID of the app. app_info.firebase_app_id...
Read more >
"The Fields collection did not contain an expected geometry ...
It tells me that it doesn't contain a geometry field... even though it clearly does because it tells me what shape it has...
Read more >
Places Library | Maps JavaScript API - Google Developers
If the field you want is not returned by Place Search, you can use Place ... A Nearby Search must always include a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found