Skip to content

Setting location hash doesn't work in dartium #3018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue May 12, 2012 · 3 comments
Closed

Setting location hash doesn't work in dartium #3018

DartBot opened this issue May 12, 2012 · 3 comments

Comments

@DartBot
Copy link

DartBot commented May 12, 2012

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. window.location.hash = 'somehash'
  2. Run code with dartium

What is the expected output? What do you see instead?

url changes to currenturl.html#somehash

What version of the product are you using? On what operating system?

Dartium/Chromium Version 20.0.1121.0 (134442)
Debian Linux unstable 32-bit

Please provide any additional information below.

Console gave stack trace of:

Exception: UnsupportedOperationException: [info: third_party/WebKit/Source/WebCore/bindings/dart/custom/DartLocationCustom.cpp:104]
Stack Trace: 0. Function: 'LocationImplementation.set:hash' url: '/mnt/data/b/build/slave/dartium-lucid64-full/build/src/out/Release/obj/gen/webkit/bindings/dart/dart/LocationImplementation.dart' line:18 col:3
 1. Function: '[email protected]:hash' url: '/mnt/data/b/build/slave/dartium-lucid64-full/build/src/out/Release/obj/gen/webkit/bindings/dart/html/dartium/Location.dart' line:9 col:43
 2. Function: 'PresendartClient.connect' url: 'file:///path/to/client.dart' line:35 col:26
 3. Function: '::function' url: 'file:///path/to/client.dart' line:56 col:17
 4. Function: '[email protected]' url: '/mnt/data/b/build/slave/dartium-lucid64-full/build/src/out/Release/obj/gen/webkit/bindings/dart/html/dartium/EventTarget.dart' line:99 col:35

client.dart line:35 is window.location.hash = 'error';

Also, compiling to Javascript y frogc and running code in Google Chrome works fine.

@DartBot
Copy link
Author

DartBot commented May 12, 2012

This comment was originally written by [email protected]


Issue #3026 has been merged into this issue.

@sethladd
Copy link
Contributor

Added Area-Dartium, Triaged labels.

@DartBot
Copy link
Author

DartBot commented May 16, 2012

This comment was originally written by [email protected]


Set owner to [email protected].
Added Fixed label.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants